﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Agent.Messaging
{
  /// <summary>
  /// Holds information for the <see cref="MessageReceiver.MessageReceived"/> event
  /// </summary>
  public class MessageReceivedEventArgs : EventArgs
  {
    /// <summary>
    /// The message that was received
    /// </summary>
    public string Message { get; private set; }

    /// <summary>
    /// Creates a new object
    /// </summary>
    /// <param name="message">The message that was received</param>
    public MessageReceivedEventArgs(string message)
    {
      Message = message;
    }
  }
}
